var Mock = require('mockjs');
var Random = Mock.Random;
Random.cname();
Random.image('200x100');
Random.cparagraph();
Random.ctitle();
Random.integer(1,5);
/**
 * mock一个数据；
*/
Mock.mock(
    '/index/list',
    {
        "code": "00",
        "result|10": [{
            "id|+1": 1,
            "name|1": ['NB', 'NIKE', 'ANTA'],
            "image": "../assets/banner@integer(1,5).png",
            "price|1-10": 1,
            "sales|1-10": 1
        }]
    }
);

export default Mock;